package com.nanfangzhe.shirodemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 角色与权限对应表
 * </p>
 *
 * @author nanfangzhe
 * @since 2020-11-25
 */
@ApiModel(value="URolePermission对象", description="角色与权限对应表")
public class URolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID")
    private Integer rid;

    @ApiModelProperty(value = "权限ID")
    private Integer pid;


    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "URolePermission{" +
        "rid=" + rid +
        ", pid=" + pid +
        "}";
    }
}
